package com.cndcare.msc.netty.dao.jpa;

import com.cndcare.msc.netty.bean.PcBean;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PcBeanJpa extends JpaRepository<PcBean, Long> {
    PcBean findByMac(String mac);

    List<PcBean> findAll();

    List<PcBean> findByStatus(String danger);
}
